<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>HTML to PDF Example</title>
    <style>
        body {
            font-family: "Microsoft YaHei", "SimSun", sans-serif;
            font-size: 16px;
        }
        p {
            color: #333;
        }
    </style>
</head>
<body>
<h1>HTML 转 PDF 示例</h1>
<p>这是一段中文文本。</p>
<p>如果你看到这段中文，说明字体已经正确嵌入。</p>
</body>
</html>
